﻿namespace Digitalmes.Domain.Enums;

/// <summary>
/// 工序流向控制。
/// </summary>
[Description("工序流向控制")]
public enum FlowTypeEnum
{
    /// <summary>
    /// 正流
    /// </summary>
    /// <remarks>按工艺路线的顺序，物料依次流动。</remarks>
    [Description("正流")]
    Forward = 1,

    /// <summary>
    /// 逆流
    /// </summary>
    /// <remarks>出现质量问题时，物料返回到前面的工序进行返工。</remarks>
    [Description("逆流")]
    Reverse = 2,

    /// <summary>
    /// 分流
    /// </summary>
    /// <remarks>需要并行处理时，物料分成多个路径。</remarks>
    [Description("分流")] 
    Split = 3,

    /// <summary>
    /// Merge
    /// </summary>
    /// <remarks>多个路径的物料汇合到一起进行后续加工。</remarks>
    [Description("合流")]
    Merge = 4,
}
